package com.zjh.mapper;

import com.zjh.pojo.Role;
import com.zjh.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    List<Role> getUserRoleByUid(Integer uid);
    User findByUsername(String username);
}
